package sys

import (
	"github.com/gin-gonic/gin"
	v1 "handitem/xxb-gin-web/api/v1"
)

// 登录路由
type SysMenusRouter struct{}

func (router *SysMenusRouter) InitSysMenusRouter(Router *gin.RouterGroup) {
	sysMenuApi := v1.WebApiGroupApp.Sys.SysMenuApi
	// 用组定义--（推荐）
	sysMenusRouter := Router.Group("/sys")
	{
		sysMenusRouter.GET("/menus", sysMenuApi.FindMenus)
	}
}
